{% extends 'base.html' %}
{% from 'bootstrap/form.html' import render_form %}
{% block title %}登录{% endblock %}

{% block header %}
    <h1>
        用户登录
        <small>系统管理员和普通用户登录</small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="{{ url_for('home.index') }}"><i class="fa fa-dashboard"></i>主页</a></li>
        <li><a href="{{ url_for('user.new_user') }}"><i class="fa fa-dashboard"></i> 用户管理</a></li>
        <li class="active">用户列表</li>
    </ol>
{% endblock header %}

{% block content %}
<article class="page-container">
	<form class="form form-horizontal" id="form-admin-add" method="post">

    <div class="container">
        <div class="card-header"><h4>&nbsp;</h4></div>
        <div class="col-lg-4 col-md-8">
            {{ render_form(form, button_map={'submit':'primary'}) }}
            <a href="{{ url_for('auth.forget_password') }}">忘记密码</a>
        </div>
    </div>
    <div class="container">
        默认用户名：malimali<br>
        登录密码：mlj
    </div>

	</form>
</article>
{% endblock content %}


